package com.tarena.lbs.marketing.web.repository;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tarena.lbs.marketing.web.mapper.ActivityMapper;
import com.tarena.lbs.pojo.marketing.po.ActivityPO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class ActivityRepository extends ServiceImpl<ActivityMapper, ActivityPO> {
    @Autowired
    private ActivityMapper activityMapper;
    public List<ActivityPO> getStoreActivities(Integer storeId) {
        return activityMapper.getStoreActivities(storeId);
    }
}
